<template>
    <div
            class="iconImaGEwRAOOER"
            :style="{
         width:`${$props.width}`,
         height:`${$props.height}`,
         ...$props._style}"
    >
        <img :src="$props.src" class="imageIcon"
        />
    </div>

</template>

<script>
    import {px2rem} from "../../utils/dom";

    export default {
        props: {
            src: {
                type: String,
                default: "http://lmt1.oss-cn-shenzhen.aliyuncs.com/dingyi/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190127174915.png"
            },
            width: {
                type: [String, Number],
                default: px2rem(60),
            },
            height: {
                type: [String, Number],
                default: px2rem(60),
            },
            _style: {
                type: Object,
            }

        },
        data() {
            return {}
        }
    }
</script>
<style lang="less" scoped>
    .iconImaGEwRAOOER {
        img {
            width: 100%;
            height: 100%;
        }
    }
</style>